#ifndef __KEY_H__
#define __KEY_H__
#include "main.h"

typedef struct
{
    uint8_t pin;
    uint8_t state;
    uint32_t debounce;
}Key_t;
extern uint8_t keyDown;
extern uint8_t keyMode;
void Key_Scan(void);
void Key_Reset(void);
#endif
